<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<textarea id="content" name="content"></textarea>

<script type="text/javascript" src="/End/Public/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/End/Public/ueditor/ueditor.all.js"></script>


<script type="text/javascript">
    //	window.UEDITOR_CONFIG.serverUrl = "<?php echo U(MODULE_NAME.'/Blog/upload');?>";
    window.UEDITOR_HOME_URL="/End/Public/ueditor/";
    window.onload=function(){
        window.UEDITOR_CONFIG.initialFrameHeight=500;
//            window.UEDITOR_CONFIG.imageUrl="http://localhost/blog/Admin/Blog/upload";
//            window.UEDITOR_CONFIG.serverUrl="http://localhost/blog/Admin/Blog/upload"
        imagePathFormat: "/ueditor/php/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}";
        var ue = UE.getEditor('content');
    }

</script>
</body>
</html>